<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var month=Math.floor(prompt("请输入您的月份"));
			var data=Math.floor(prompt("请输入您的日期"));
			
			if(month==1&&data>=20&&data<=31||month==2&&data>=1&&data<=18){
				document.write("不管你信不信，你是水瓶座");
			}else if(month==2&&data>=19&&data<=29||month==3&&data>=1&&data<=20){
				document.write("不管你信不信，你是双鱼座");
			}else if(month==3&&data>=21&&data<=31||month==4&&data>=1&&data<=19){
				document.write("不管你信不信，你是白羊座");
			}else if(month==4&&data>=20&&data<=30||month==5&&data>=1&&data<=20){
				document.write("不管你信不信，你是金牛座");
			}else if(month==5&&data>=21&&data<=31||month==6&&data>=1&&data<=21){
				document.write("不管你信不信，你是双子座");
			}else if(month==6&&data>=22&&data<=30||month==7&&data>=1&&data<=22){
				document.write("不管你信不信，你是巨蟹座");
			}else if(month==7&&data>=23&&data<=31||month==8&&data>=1&&data<=22){
				document.write("不管你信不信，你是狮子座");
			}else if(month==8&&data>=23&&data<=31||month==9&&data>=1&&data<=22){
				document.write("不管你信不信，你是处女座");
			}else if(month==9&&data>=23&&data<=30||month==10&&data>=1&&data<=23){
				document.write("不管你信不信，你是天秤座");
			}else if(month==10&&data>=24&&data<=31||month==11&&data>=1&&data<=22){
				document.write("不管你信不信，你是天蝎座");
			}else if(month==11&&data>=23&&data<=30||month==12&&data>=1&&data<=21){
				document.write("不管你信不信，你是射手座");
			}else if(month==12&&data>=22&&data<=31||month==1&&data>=1&&data<=29){
				document.write("不管你信不信，你是魔羯座");
			}else{
				document.write("输入错误");
			}
		</script>
	</head>
	<body>
	</body>
</html>
